/*
* Copyright (c)  2017, ueboot.com
* All rights reserved.
* 2017-10-12 14:37:57
*/
package com.ueboot.weishop.service.setting;

import com.ueboot.core.service.BaseService;
import com.ueboot.weishop.entity.setting.SpecOptionValueEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by yangkui  on 2017-10-12 14:37:57.
 *
 * @since 2.0 by autocode
 */
public interface SpecOptionValueService extends BaseService<SpecOptionValueEntity> {
    Page<SpecOptionValueEntity> findBySpecId(Pageable pageable, Long categoryId);

    List<SpecOptionValueEntity> findBySpecId(Long categoryId);

}
